//// src/main/java/com/training/repository/LearningProgressRepository.java
//package com.training.repository;
//
//import com.training.entity.LearningProgress;
//import org.springframework.data.jpa.repository.JpaRepository;
//import org.springframework.stereotype.Repository;
//
//import java.util.Optional;
//
//@Repository
//public interface LearningProgressRepository extends JpaRepository<LearningProgress, Long> {
//
//    // 根据学生ID和章节ID查找学习进度
//    Optional<LearningProgress> findByStudentIdAndChapterId(Long studentId, Long chapterId);
//}